<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>列举对象相关信息</title>
<script type="text/javascript" src="../../js/commonObject.js"></script>
</head>
<body>
	<table border="1">
		<tr>
			<th colspan="8" style="text-align: left;">对象数据库字段相关信息</th>
			<td><a title="添加" data-add-idObject="${idObject}"
				href="javascript:;">添加</a>
			</td>
		</tr>
		<tr>
			<th>字段名称</th>
			<th>数据库类型</th>
			<th>长度</th>
			<th>是否为空</th>
			<th>默认值</th>
			<th>是否主键</th>
			<th>界面名称</th>
			<th>备注</th>
			<th>操作</th>
		</tr>
		<c:forEach items="${dictObject2fields }" var="dictObject2field">
			<tr>
				<td>${dictObject2field.sfieldName }</td>
				<td>${dictObject2field.sdbtype }</td>
				<td>${dictObject2field.ifieldLength }</td>
				<td>${dictObject2field.bisNull }</td>
				<td>${dictObject2field.defaultValue }</td>
				<td>${dictObject2field.bprimaryKey }</td>
				<td>${dictObject2field.suiName }</td>
				<td>${dictObject2field.snote }</td>
				<td>
					<a title="编辑" href="javascript:commonObject.getObjectFieldInfoList('editObjetOrField','common.editDictObjectField.do',{'id':'${dictObject2field.id }'});">编辑</a>
					<a title="删除" href="javascript:commonObject.deleteField('${dictObject2field.id }');">删除</a>
				</td>
			</tr>
		</c:forEach>
	</table>
	<div id="editObjetOrField">
		
	</div>
</body>
</html>